package com.longtime.aliyun.ocr.properties;

import com.longtime.aliyun.ocr.constants.AliyunOcrReqConstants;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xhc
 * @version 1
 * @date 2025-05-26 15:20:14
 * @description 阿里云OCR请求参数属性类
 */
@ConfigurationProperties(prefix = "com.longtime.aliyun.ocr.params")
public class AliyunOcrParamsProperties {

    private String action = AliyunOcrReqConstants.PARAMS_VALUE_ACTION;

    private String version = AliyunOcrReqConstants.PARAMS_VALUE_VERSION;

    private String protocol = AliyunOcrReqConstants.PARAMS_VALUE_PROTOCOL;

    private String method = AliyunOcrReqConstants.PARAMS_VALUE_METHOD;

    private String authType = AliyunOcrReqConstants.PARAMS_VALUE_AUTH_TYPE;

    private String style = AliyunOcrReqConstants.PARAMS_VALUE_STYLE;

    private String pathName = AliyunOcrReqConstants.PARAMS_VALUE_PATH_NAME;

    private String reqBodyType = AliyunOcrReqConstants.PARAMS_VALUE_REQ_BODY_TYPE;

    private String bodyType = AliyunOcrReqConstants.PARAMS_VALUE_BODY_TYPE;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName;
    }

    public String getReqBodyType() {
        return reqBodyType;
    }

    public void setReqBodyType(String reqBodyType) {
        this.reqBodyType = reqBodyType;
    }

    public String getBodyType() {
        return bodyType;
    }

    public void setBodyType(String bodyType) {
        this.bodyType = bodyType;
    }
}
